{
"id" : "Workflow.CreateTask",
"label" : "Create task",
"category" : "Services",
"requires" : null,
"description" : "Enable to create a task bound to the document. <p><b>Directive</b>, <b>comment</b> and <b>due date</b> will be displayed in the task list of the user. In <b>accept operation chain</b> and <b>reject operation chain</b> fields, you can put the operation chain ID of your choice among the one you contributed. Those operations will be executed when the user validates the task, depending on whether he accepts or rejects the task. You have to specify a variable name (the <b>key for ... </b> parameter) to resolve target users and groups to which the task will be assigned. You can use Get Users and Groups to update a context variable with some users and groups. If you check <b>create one task per actor</b>, each of the actors will have a task to achieve, versus \"the first who achieve the task makes it disappear for the others\".</p>",
"since" : "5.3.2",
"url" : "Workflow.CreateTask",
"signature" : [ "document", "document", "documents", "documents" ],
"params" : [ {
"name" : "task name",
"description" : null,
"type" : "string",
"required" : true,
"widget" : null,
"order" : 0,
"values" : [ ]
}, {
"name" : "due date",
"description" : null,
"type" : "date",
"required" : false,
"widget" : null,
"order" : 1,
"values" : [ ]
}, {
"name" : "directive",
"description" : null,
"type" : "string",
"required" : false,
"widget" : null,
"order" : 2,
"values" : [ ]
}, {
"name" : "comment",
"description" : null,
"type" : "string",
"required" : false,
"widget" : null,
"order" : 3,
"values" : [ ]
}, {
"name" : "accept operation chain",
"description" : null,
"type" : "string",
"required" : false,
"widget" : null,
"order" : 4,
"values" : [ ]
}, {
"name" : "reject operation chain",
"description" : null,
"type" : "string",
"required" : false,
"widget" : null,
"order" : 5,
"values" : [ ]
}, {
"name" : "variable name for actors prefixed ids",
"description" : null,
"type" : "string",
"required" : false,
"widget" : null,
"order" : 6,
"values" : [ ]
}, {
"name" : "additional list of actors prefixed ids",
"description" : null,
"type" : "stringlist",
"required" : false,
"widget" : null,
"order" : 7,
"values" : [ ]
}, {
"name" : "create one task per actor",
"description" : null,
"type" : "boolean",
"required" : false,
"widget" : null,
"order" : 8,
"values" : [ "true" ]
} ]
}